package com.acme.bankapp.domain.exceptions;

public class NotEnoughFundsException extends BankException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public NotEnoughFundsException() {
		super();
	}
	
	public NotEnoughFundsException(double amount) {
		super("Not enough funds. Maximum amount to withdraw is " + amount);
	}

	public NotEnoughFundsException(String message, Throwable cause) {
		super(message, cause);
	}

	public NotEnoughFundsException(String message) {
		super(message);
	}

	public NotEnoughFundsException(Throwable cause) {
		super(cause);
	}
}
